PROJECT(dsc3d2wrl)

FIND_PACKAGE(VTK)

IF(VTK_FOUND)
 	INCLUDE(${USE_VTK_FILE})
ENDIF(VTK_FOUND)

SET(SRC src/main.cpp src/dsc3d.cpp src/triangulation.cpp src/dir.cpp)

SET(INCLUDE include/dsc3d.h include/triangulation.h include/dir.h)

INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include)

ADD_EXECUTABLE(dsc3d2wrl ${SRC} ${INCLUDE})

TARGET_LINK_LIBRARIES(  dsc3d2wrl

			vtkCommon 
			vtkGraphics
			vtkIO 
			vtkRendering 
			vtkfreetype 
			vtkjpeg 
			vtkFiltering 
			vtkImaging 
			vtkHybrid)
